package com.qianfeng.biquge.service;

import com.qianfeng.biquge.pojo.Categories;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface CategorieService {

    Categories addCategorie( String categoryName) throws UnsupportedEncodingException;

    List<Categories> getAllOKCategorie();

    List<Categories> getAllCategorieIsDelete();

    int updateCategorie( Categories categories);

    int deleteCategorie(Long categoryId);

}
